package model.order
{
	public class OrderVo
	{
		public var id:String;
		
		public  var orderId:String;
		
		
		public var userId:int;
		
		public var orderGoodsVoList:Array;
		
		/**
		 * 订单总价
		 */
		public var orderAmount:Number;
		
		/**
		 * 订单状态 0：未支付 1：已支付  2：已撤销  3:支付超时
		 */
		public var orderState:int;
		
		/**
		 * 生成时间
		 */
		public var createTime:String;
		
		/**
		 * 配送方式
		 */
		public var deliveryType:int;
		
		/**
		 * 是否超时未支付
		 */
		public var overTime:int;
		
		
		
		public function OrderVo(data:Object)
		{
			if(data != null)
			{
				for(var key in data)
				{
					if(this.hasOwnProperty(key))
						this[key] = data[key];
				}
			}
		}
	}
}